/*
 * Global.h
 *
 *  Created on: 2013-1-22
 *      Author: heqiu
 */

#ifndef GLOBAL_H_
#define GLOBAL_H_

#include "Guud.h"

#include "FarmConfig.h"
#include "FarmScreen.h"
#include "FarmEvent.h"
#include "FarmMap.h"
#include "BuildingManager.h"
#include "FarmControl.h"

using namespace guud;

class GlobalData {
public:
	GlobalData(){
		g_uiDrawNo = 0;
	}
	uint32_t g_uiDrawNo;
	GuudLog g_GuudLog;
	GuudFont g_GuudFont;
	FarmConfig g_FarmConfig;
	FarmScreen g_FarmScreen;
	FarmEvent g_FarmEvent;
	FarmMap g_FarmMap;
	UnitAnimalPosition g_UnitAnimalPosition;
	UnitAnimalMoving g_UnitAnimalMoving;
	BuildingManager g_BuildingManager;
	BuildingTypeManager g_BuildingTypeManager;
	FarmControl g_FarmControl;
};
extern GlobalData g_GlobalData;

#endif /* GLOBAL_H_ */
